<?php
require('includes/prepend.inc.php');

class LogoutForm extends QForm {

    protected function Form_Create() {

        //$_SESSION['UserID'] = "";
        //$_SESSION['UserName'] = "";
        //$_SESSION['PersonId']="";
        //$_SESSION['PersonName'] = "";
        //QApplication::Redirect('index.html');

        $_SESSION['User']="";
        $_SESSION['Username']="";
        //QApplication::Redirect(QApplication::$RequestUri);
        //QApplication::Redirect('http://host5.com/');

    }

}

LogoutForm::Run('LogoutForm', 'logout.tpl.php');
?>
